{extend name="common/base" /}
<!--title-->
{block name="titlekeyword"}
<title>{$content}</title>

{/block}
<!--代码主要内容-->

<!--底部js 在这里是js的实际代码区-->
{block name="footjs"}
<script language="javascript">
		window.onload = function () {  //先加载页面内容 再加载js
			var m = [[456, 90, 900, "韩顺平"], [522, "hjk", 46]];
	
			for (var i = 0; i < m.length; i++) {
				//下面输出第一行
				for (var j = 0; j < m[i].length; j++) {
					document.write(m[i][j] + " ");
				}
				alert('点击后，开始打印');
				document.write("<br/>");
			}
		}
	</script>


 {/block}

 {block name="main"}
<h6>内容</h6>
<h6>代码</h6>
<pre>
		&lt;script language="javascript"&gt;
		window.onload = function () {  //先加载页面内容 再加载js
			var m = [[456, 90, 900, "韩顺平"], [522, "hjk", 46]];
	
			for (var i = 0; i &lt; m.length; i++) {
				//下面输出第一行
				for (var j = 0; j &lt; m[i].length; j++) {
					document.write(m[i][j] + " ");
				}
				document.write("&lt;br/&gt;");
			}
		}
	&lt;/script&gt;

	 </pre> {/block}